package some.message.dao;

import java.util.List;
import java.util.Map;

import some.message.domain.MessageCommand;

public interface MessageDao {
	public List<MessageCommand> getList(Map<String,Object> map);
	public int getMessageCount(Map<String,Object> map);
	public void insertMessage(MessageCommand command);
	public MessageCommand getMessage(int num);
	public void updateMessage(Map<String,Object> map);
	public String getContent(String senderid);
	public List<MessageCommand> getThreeMessage(String id);
}
